package server.protocol.processor;

import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.util.List;

import common.entity.Person;
import server.resp.send.Resp;

public  class SendProtocolProcessor {
	public  void process(List<Person> ps,OutputStream out){
		
		//return null;
	}
	
	public void process(Resp resp, OutputStream out){
		try {
			ObjectOutputStream objectOutputStream = new ObjectOutputStream(out);
			objectOutputStream.writeObject(resp);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
